//
//  SYTongJiNameView.h
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/26.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, SYTongJiNameViewType) {
    SYTongJiNameViewTypeBanJi, //班级
    SYTongJiNameViewTypeXingMing, // 姓名
    SYTongJiNameViewTypeShiTi,//试题
    SYTongJiNameViewTypeXueSheng, //学生
    SYTongJiNameViewTypeKeWen //按照课文统计
};


@protocol SYTongJiNameViewDelegate <NSObject>

- (void)tongjiNameViewSelectBtnType:(SYTongJiNameViewType)type;

@end


@interface SYTongJiNameView : UIView
@property (weak, nonatomic) IBOutlet UIButton *shitiBtn;
@property (weak, nonatomic) IBOutlet UIButton *xueshengBtn;
@property (weak, nonatomic) IBOutlet UIButton *banjiBtn;
@property (weak, nonatomic) IBOutlet UIButton *nameBtn;
@property (weak, nonatomic) IBOutlet UILabel *banjiLab;
@property (weak, nonatomic) IBOutlet UILabel *xingmingLab;
@property (weak, nonatomic) IBOutlet UIButton *kewenBtn;


@property (weak, nonatomic) id <SYTongJiNameViewDelegate>delegate;

@end
